#!/bin/bash

##=======================================================================
#BSUB -a poe                     # use LSF openmp elim
#BSUB -N
#BSUB -n 1                      # yellowstone setting
#BSUB -o out.%J                  # output filename
#BSUB -e out.%J                  # error filename
#BSUB -q geyser                # queue
#BSUB -J tc_tracker
#BSUB -W 06:00                    # wall clock limit
#BSUB -P P35201098               # account number

################################################################

date

PATH=$PATH:/glade/u/home/zarzycki/tstorms/source/trajectory:/glade/u/home/zarzycki/tstorms/source/tstorms
filelist=`ls /glade/u/home/zarzycki/scratch/h1files/MERRA/MERRA*.nc`
shopt -s nullglob
for f in $filelist
do
  echo $f
  ~/tstorms/scripts/run_tstorms_general $f ~/scratch/MERRAOUT/
done

date


